/*
 */
package org.hook.showcase.concurrent.visibility;

import net.jcip.annotations.GuardedBy;
import net.jcip.annotations.ThreadSafe;

/**
 * @author suwuqiang 2011-12-5
 */
@ThreadSafe
public class SynchronizedInteger {
	@GuardedBy("this")private int value;

	public synchronized int getValue() {
		return value;
	}

	public synchronized void setValue(int value) {
		this.value = value;
	}
}
